package com.bicon.base.data.pojo.botu;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 训练管理
 * </p>
 *
 * @author zhoutyianqi
 * @since 2018-07-25
 */
@TableName("t_h_train")
public class THTrain extends Model<THTrain> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;
    /**
     * 训练名称
     */
    @TableField("train_name")
    private String trainName;
    /**
     * 训练时长 （秒）
     */
    @TableField("train_time")
    private Integer trainTime;
    /**
     * 描述
     */
    private String describes;
    /**
     * 封面图地址
     */
    @TableField("cover_sheet")
    private String coverSheet;
    /**
     * 背景图地址
     */
    @TableField("background_map")
    private String backgroundMap;
    /**
     * 卡路里（千卡）
     */
    private Integer calorie;
    /**
     * 部位
     */
    @TableField("site_id")
    private String siteId;
    /**
     * 标签
     */
    @TableField("label_id")
    private String labelId;
    /**
     * 有无设备（0:无 1：有）
     */
    @TableField("any_equipment")
    private Integer anyEquipment;
    /**
     * 级别（0:初级 1:中级 2:高级）
     */
    private Integer level;
    /**
     * 删除标志（0:正常 1:删除）
     */
    @TableField("logic_delete")
    private String logicDelete;
    /**
     * 创建时间
     */
    @TableField("create_date")
    private Date createDate;
    /**
     * 修改时间
     */
    @TableField("update_date")
    private Date updateDate;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTrainName() {
        return trainName;
    }

    public void setTrainName(String trainName) {
        this.trainName = trainName;
    }

    public Integer getTrainTime() {
        return trainTime;
    }

    public void setTrainTime(Integer trainTime) {
        this.trainTime = trainTime;
    }

    public String getDescribes() {
        return describes;
    }

    public void setDescribes(String describes) {
        this.describes = describes;
    }

    public String getCoverSheet() {
        return coverSheet;
    }

    public void setCoverSheet(String coverSheet) {
        this.coverSheet = coverSheet;
    }

    public String getBackgroundMap() {
        return backgroundMap;
    }

    public void setBackgroundMap(String backgroundMap) {
        this.backgroundMap = backgroundMap;
    }

    public Integer getCalorie() {
        return calorie;
    }

    public void setCalorie(Integer calorie) {
        this.calorie = calorie;
    }

    public String getSiteId() {
        return siteId;
    }

    public void setSiteId(String siteId) {
        this.siteId = siteId;
    }

    public String getLabelId() {
        return labelId;
    }

    public void setLabelId(String labelId) {
        this.labelId = labelId;
    }

    public Integer getAnyEquipment() {
        return anyEquipment;
    }

    public void setAnyEquipment(Integer anyEquipment) {
        this.anyEquipment = anyEquipment;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getLogicDelete() {
        return logicDelete;
    }

    public void setLogicDelete(String logicDelete) {
        this.logicDelete = logicDelete;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "THTrain{" +
        "id=" + id +
        ", trainName=" + trainName +
        ", trainTime=" + trainTime +
        ", describes=" + describes +
        ", coverSheet=" + coverSheet +
        ", backgroundMap=" + backgroundMap +
        ", calorie=" + calorie +
        ", siteId=" + siteId +
        ", labelId=" + labelId +
        ", anyEquipment=" + anyEquipment +
        ", level=" + level +
        ", logicDelete=" + logicDelete +
        ", createDate=" + createDate +
        ", updateDate=" + updateDate +
        "}";
    }
}
